/*
 * Powered By xTOOLs
 * Dev by tao.li8@pactera.com
 * Copyright ©2009-2018 pactera.com All rights reserved.
 * Generated at 2020-7-20 10:27:32
 */

package com.pactera.jep.service.yapin.eval.model;

import com.pactera.jep.web.entity.Result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Digits;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.*;
import java.math.BigDecimal;

import com.pactera.jep.commons.DateUtils;
import com.pactera.jep.entity.PO;

/**
 * 押品估值流程信息表实体类
 * @Author YourName
 * @Date 2020-7-20 10:27:32
 */
@ApiModel(value = "EvalProcess" , description = "押品估值流程信息表")
@Entity
@Table(name = "ap_val_eval_process")
public class EvalProcess implements PO {

    @ApiModelProperty("评估流程信息ID")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Length(max = 32, message = "评估流程信息ID长度最多32位")
    @Column(name = "EVAL_PROCESS_ID")
    private String evalProcessId;

    @ApiModelProperty("流程编号")
    @Length(max = 40, message = "流程编号长度最多40位")
    @Column(name = "EVAL_PROCESS_NO")
    private String evalProcessNo;

    @ApiModelProperty("流程状态")
    @Length(max = 20, message = "流程状态长度最多20位")
    @Column(name = "PROCESS_STS_CD")
    private String processStsCd;

    @ApiModelProperty("评估方式")
    @Length(max = 20, message = "评估方式长度最多20位")
    @Column(name = "EVAL_TP_CD")
    private String evalTpCd;

    @ApiModelProperty("申请人编号")
    @Length(max = 40, message = "申请人编号长度最多40位")
    @Column(name = "EVAL_PERSON_NO")
    private String evalPersonNo;

    @ApiModelProperty("申请人机构编号")
    @Length(max = 40, message = "申请人机构编号长度最多40位")
    @Column(name = "EVAL_PERSON_ORG_NO")
    private String evalPersonOrgNo;

    @ApiModelProperty("系统创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "SYS_CREATE_TIME")
    private Date sysCreateTime;

    @ApiModelProperty("系统更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "SYS_UPDATE_TIME")
    private Date sysUpdateTime;

    public String getEvalProcessId(){
        return evalProcessId;
    }

    public void setEvalProcessId(String evalProcessId){
        this.evalProcessId = evalProcessId;
    }
    public String getEvalProcessNo(){
        return evalProcessNo;
    }

    public void setEvalProcessNo(String evalProcessNo){
        this.evalProcessNo = evalProcessNo;
    }
    public String getProcessStsCd(){
        return processStsCd;
    }

    public void setProcessStsCd(String processStsCd){
        this.processStsCd = processStsCd;
    }
    public String getEvalTpCd(){
        return evalTpCd;
    }

    public void setEvalTpCd(String evalTpCd){
        this.evalTpCd = evalTpCd;
    }
    public String getEvalPersonNo(){
        return evalPersonNo;
    }

    public void setEvalPersonNo(String evalPersonNo){
        this.evalPersonNo = evalPersonNo;
    }
    public String getEvalPersonOrgNo(){
        return evalPersonOrgNo;
    }

    public void setEvalPersonOrgNo(String evalPersonOrgNo){
        this.evalPersonOrgNo = evalPersonOrgNo;
    }
    public Date getSysCreateTime(){
        return sysCreateTime;
    }

    public void setSysCreateTime(Date sysCreateTime){
        this.sysCreateTime = sysCreateTime;
    }
    public Date getSysUpdateTime(){
        return sysUpdateTime;
    }

    public void setSysUpdateTime(Date sysUpdateTime){
        this.sysUpdateTime = sysUpdateTime;
    }
}

